package com.zhonghan.common.wechat.bean.user;

import java.util.List;

/**
 * SnsUserInfo
 * 通过网页授权获取的用户信息 
 * @author zhangceven
 *
 */
public class SnsUserInfo {
    // 用户标识
    private String openId;
    // 用户昵称
    private String nickname;
	//昵称 表情转义
    private String nickname_emoji;	
    // 性别（1是男性，2是女性，0是未知）
    private int sex;
    // 国家
    private String country;
    // 省份
    private String province;
    // 城市
    private String city;
    // 用户头像链接
    private String headImgUrl;
    // 用户特权信息
    private List<String> privilegeList;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getNickname_emoji() {
		return nickname_emoji;
	}

	public void setNickname_emoji(String nickname_emoji) {
		this.nickname_emoji = nickname_emoji;
	}

	public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public List<String> getPrivilegeList() {
        return privilegeList;
    }

    public void setPrivilegeList(List<String> privilegeList) {
        this.privilegeList = privilegeList;
    }

	@Override
	public String toString() {
		return "SnsUserInfo [openId=" + openId + ", nickname=" + nickname + ", nickname_emoji=" + nickname_emoji
				+ ", sex=" + sex + ", country=" + country + ", province=" + province + ", city=" + city
				+ ", headImgUrl=" + headImgUrl + ", privilegeList=" + privilegeList + "]";
	}
    
}